﻿<!DOCTYPE html>
<html class="loginHtml">
<head>
    <meta charset="utf-8">
    <title>用户登录--婚庆系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="/static/imgs/favicon.ico">
    <link href="/static/plugins/layui/css/layui.css" rel="stylesheet" />
    <link href="/static/css/public.css" rel="stylesheet" />
</head>
<body class="loginBody">
    <form class="layui-form">
        {% csrf_token %}
        <div style="text-align: center;height: 70px;line-height: 70px;    font-size: 26px;    padding-bottom: 14px;    color: #777;">
            用户登录
        </div>
        <div class="layui-form-item input-item">
            <label for="userName">用户名</label>
            <input type="text" placeholder="请输入用户名" autocomplete="off" id="userName" aria-autocomplete="none" class="layui-input" maxlength="20" />
        </div>
        <div class="layui-form-item input-item">
            <label for="password">密码</label>
            <input type="password" placeholder="请输入密码" autocomplete="off" id="password" aria-autocomplete="none" class="layui-input"  maxlength="20" />
        </div>
        <div class="layui-form-item input-item" id="imgCode">
            <label for="code">验证码</label>
            <input type="text" placeholder="请输入验证码" autocomplete="off" id="code" aria-autocomplete="none" class="layui-input"maxlength="4" />

            <img src="{% url 'userprofile:check_code' %}" id="imgCheckCode" style="height:36px;" />
        </div>
        <div class="layui-form-item">
            <button class="layui-btn layui-btn-normal layui-block" lay-filter="login" id="btnLogin" lay-submit>登录</button>
        </div>
        <div class="layui-form-item layui-row">
{#            <a href="{% url 'userprofile:admin_login' %}" style="float:left;">管理员登录</a>#}
            <a href="{% url 'userprofile:user_register' %}" style="float:right;">立即注册</a>
        </div>
    </form>
    <script src="/static/plugins/layui/layui.js"></script>
    <script src="/static/js/Login/LoginBase.js"></script>
    <script src="/static/js/Login/UserLogin.js"></script>
    <script type="text/javascript">
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>
</body>
</html>